package com.dd.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.dd.entity.BaseEntity;

import java.math.BigDecimal;

@Data
public class ProductVO extends BaseEntity {
    @TableField(value = "product_id")
    @Schema(description = "商品id")
    private Integer productId;
    @TableField(value = "product_name")
    @Schema(description = "商品名称")
    private String productName;
    @TableField(value = "brand")
    @Schema(description = "商品品牌")
    private String brand;
    @TableField(value = "purchase_price")
    @Schema(description = "采购价")
    private BigDecimal purchasePrice;
    @TableField(value = "price")
    @Schema(description = "零售价")
    private BigDecimal price;
    @TableField(value = "proDescription")
    @Schema(description = "商品描述")
    private String proDescription;
    @TableField(value = "image_url")
    @Schema(description = "商品图片")
    private String imageUrl;
    @TableField(value = "supplier_name")
    @Schema(description = "供应商名称")
    private String supplierName;
    @TableField(value = "category_name")
    @Schema(description = "类别名称")
    private String categoryName;
    @TableField(value = "categoryDescription")
    @Schema(description = "类别描述")
    private String categoryDescription;
}
